home *** CD-ROM | disk | FTP | other *** search
/ Chip: 2001 Haziran / CHIP Haziran2001.iso / prog / haziran / 20 / setup.exe / {app} / plugins / XQ Explorer Options 4.xpl < prev    next >
Encoding:
XSetup plugin  |  2001-03-28  |  1.1 KB  |  46 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 6.0"
  2. "TYPE"="6"
  3. "COUNT"="1"
  4. "UIPATH"="Appearance\Explorer\Settings"
  5. "NAME"="Explorer Double Pane Display"
  6. "VERSION"="2.00"
  7. "LANGUAGE"="VBScript"
  8. "TEXT 1"="Always use double-pane Explorer style"
  9. "DESCRIPTION 1"="This option causes Windows Explorer to open with a double-pane view rather than the single-pane by default."
  10. "AUTHOR"="Xteq Systems"
  11. "CONTACTURL"="http://www.xteq.com"
  12. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  13. "COMMENT 1"=" "
  14.  
  15.  
  16. 'does anybody where this stuff comes from!?!?!?!
  17. 'AK: askSam(now) 
  18. sExpPath="HKCR\Folder\Shell\Open\ddeexec\@"
  19. sExpDoub="[ExploreFolder(""%l"", %I, %S)]"
  20. sExpNorm="[ViewFolder(""%l"", %I, %S)]"
  21.  
  22.  
  23. Sub Plugin_Initialize 
  24.  s=RegReadValue(sExpPath)
  25.  if ucase(s)=ucase(sExpDoub) then SetUIElement 1,true
  26. End Sub
  27.  
  28. Sub Plugin_CheckData(ElementIndex)
  29. End Sub
  30.  
  31. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  32.  b=GetUIElement(1)
  33.  if b=true then
  34.     Call RegWriteValue(sExpPath,sExpDoub,1)
  35.  else
  36.     Call RegWriteValue(sExpPath,sExpNorm,1)
  37.  end if
  38.  
  39.  
  40.  
  41.  Call IndicateSettingChange()
  42. End Sub
  43.  
  44. Sub Plugin_Terminate 
  45. End Sub
  46.